import request from '@/utils/request';
// 列表查询
export const getAutoGroupList = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/list',
        method: 'POST',
        data,
        noNeedLoading: true
    });
};
// 客户明细 - 统计
export const getCustomerCount = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/customer-stats',
        method: 'POST',
        data
    });
};
// 客户明细 - 列表
export const getCustomerList = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/customer-list',
        method: 'POST',
        data
    });
};
// 删除/批量删除
export const customerRemove = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/del',
        method: 'POST',
        data,
        noNeedLoading: true
    });
};
// 下载/批量下载
export const customerDownload = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/download',
        method: 'POST',
        data
    });
};
// 自动拉群-详情
export const autoGroupInfo = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/info',
        method: 'POST',
        data
    });
};
// 自动拉群-编辑
export const autoGroupEdit = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/edit',
        method: 'POST',
        data
    });
};
// 自动拉群-编辑
export const autoGroupCreate = (data: any) => {
    return request({
        url: '/scrm-api/console/customer/auto-groupchat/create',
        method: 'POST',
        data
    });
};
